package com.py.framework.core.entity;

/**
 * 部门实体
 * @author Leegern
 * @date   2018年4月25日
 */
public class SysOfficeEntity extends BaseEntity {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -5422709462334899419L;
	/** 部门名称 **/
	private String officeName;
	/** 部门编码 **/
	private String officeCode;
	/** 父节点ID **/
	private long parentId;
	/** 所有父节点 **/
	private String allParentId;
	/** 区域ID **/
	private long areaId;
	/** 排序 **/
	private int orderBy;
	
	private boolean checked;
	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	
	/** 区域名称 **/
	private String areaName;

	
	/**
	 * @return the officeName
	 */
	public String getOfficeName() {
		return officeName;
	}

	/**
	 * @param officeName the officeName to set
	 */
	public void setOfficeName(String officeName) {
		this.officeName = officeName;
	}

	/**
	 * @return the officeCode
	 */
	public String getOfficeCode() {
		return officeCode;
	}

	/**
	 * @param officeCode the officeCode to set
	 */
	public void setOfficeCode(String officeCode) {
		this.officeCode = officeCode;
	}

	/**
	 * @return the parentId
	 */
	public long getParentId() {
		return parentId;
	}

	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	/**
	 * @return the allParentId
	 */
	public String getAllParentId() {
		return allParentId;
	}

	/**
	 * @param allParentId the allParentId to set
	 */
	public void setAllParentId(String allParentId) {
		this.allParentId = allParentId;
	}

	/**
	 * @return the areaId
	 */
	public long getAreaId() {
		return areaId;
	}

	/**
	 * @param areaId the areaId to set
	 */
	public void setAreaId(long areaId) {
		this.areaId = areaId;
	}

	/**
	 * @return the orderBy
	 */
	public int getOrderBy() {
		return orderBy;
	}

	/**
	 * @param orderBy the orderBy to set
	 */
	public void setOrderBy(int orderBy) {
		this.orderBy = orderBy;
	}

	/**
	 * @return the areaName
	 */
	public String getAreaName() {
		return areaName;
	}

	/**
	 * @param areaName the areaName to set
	 */
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
}